package com.bd.scm.module.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bd.scm.domain.dto.user.PersonnelFilesDto;
import com.bd.scm.domain.models.user.PersonnelFiles;

import java.util.List;

public interface ILeaveManagementService {
    /**
     * 查询离职人员
     * @param personnelFilesDto
     * @return
     */
    IPage<PersonnelFiles> getLeavePersonList(PersonnelFilesDto personnelFilesDto);
    /**
     * 复职
     * @param personnelFilesDto
     * @param clientIp
     * @return
     */
    String recoveryOccupation(List<PersonnelFilesDto>  personnelFilesDto, String clientIp);
    /**
     * 调动
     * @param j
     * @param clientIp
     * @return
     */
    String transferPerson(List<PersonnelFilesDto> j, String clientIp);

}
